<!DOCTYPE html>
<script>
if (window.testRunner)
  testRunner.setPrinting();
</script>
<div style='position: fixed'>Fixed</div>
<div style='height: 2000px'>
  Contents
</div>
